package com.wwt.blog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("ms_article")
@Data
public class Article {
    public static final int Article_TOP = 1;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer commentCounts;
    private Long createDate;
    private String summary;
    private String title;
    private Integer viewCounts;
    private Integer weight=Article_TOP;
    private Long authorId;
    private Long bodyId;
    private Integer categoryId;
}
